<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生管理系统</title>
</head>
<body>
<%--这样写也能从request里拿数据--%>
<p>${msg}</p>
sb学生管理系统
<form action="" method="post">
    <input type="text" placeholder="号码" name="num"><br>
    <input type="text" placeholder="密码" name="password"><br>
    <label><input type="radio" name="role" value="student">学生</label>
    <label><input type="radio" name="role" value="teacher"></label>教师
    <label><input type="radio" name="role" value="admin">管理员</label><br>
    <input type="submit" value="立马登陆">
    <a href="${pageContext.request.contextPath}/register">没有账号，立马注册</a>
</form>
</body>
</html>
